package com.wyiot.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum OrderStatusEnum {
    NoPayment(0, "未付款"),
    WaitForTook(1, "待揽件"),
    WaitForSign(2, "待签收"),
    IsFinish(3,"已完成"),
    IsCancel(4,"已取消"),
    Refund(5,"退款中"),
    IsRefund(6,"已退款"),
    WaitForSend(7,"待派送"),
    ;
    @EnumValue
    private final Integer  code;
    @JsonValue
    private final String remark;

    OrderStatusEnum(Integer code,String remark) {
        this.code= code;
        this.remark=remark;
    }

}
